<?php
	session_start();

	$username = $_POST['username'];
	$password = $_POST['password'];


	if($username == "test" && $password == "test")
	{
		$_SESSION['username'] = $username;
		header("Location:admin.php");
	}else{
		echo $username . ": UID<br>" . $password . ":Pass";
		//header("Location:index.php?error=Provide correct credentials.");
	}
